<me:UIWT x:Class="WPFExcelReport.TWT15"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls" 
                    xmlns:SD="clr-namespace:WPFExcelReport;assembly=TSDDAT" 
                      xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:TXT="clr-namespace:WPFExcelReport;assembly=TTXTIND"  
                    x:Name="TV"
                    FontSize="16"
                    Loaded="Window_Loaded"
     >
    <me:UIWT.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>     
        <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:NOTConverter  x:Key="not"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:NOTBoolToVisibilityConverter x:Key="nbv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIWT.Resources>
    <Grid  >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
            <RowDefinition Height="2*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="200"></ColumnDefinition>
            <ColumnDefinition Width="1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2">
            <WrapPanel  >
                <Grid Margin="10,0,0,0" >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button   Click="NewCommand" Height="20" Margin="5,0,0,0" Width="24"
                              IsEnabled="{Binding IsCanNew,ElementName=TV}"
                              >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/Add.png" />
                        </Button.Background>
                    </Button>
                </Grid>
                <Grid Margin="10,0,0,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button  Click="EditCommand" Width="24" Height="20"
                             IsEnabled="{Binding IsCanChg,ElementName=TV}"
                             >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/Edit.png" />
                        </Button.Background>
                    </Button>
                </Grid>
                <Grid Margin="10,0,0,0" >
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button Click="DeleteCommand" Height="20" Margin="5,0,0,0" Width="24"
                            IsEnabled="{Binding IsCanDelete,ElementName=TV}"
                            >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/Remove.png" />
                        </Button.Background>
                    </Button>
                </Grid>
                <Grid Margin="10,0,0,0" IsEnabled="{Binding IsCanCopy,ElementName=TV}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button    Click="CopyCommand" Height="20" Margin="5,0,0,0" Width="24"
                               IsEnabled="{Binding IsCanCopy,ElementName=TV}"
                               >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/copy.png" />
                        </Button.Background>
                    </Button>
                </Grid>
                <Grid Margin="10,0,0,0" Visibility="{Binding IsEdit,ElementName=TV,Converter={StaticResource bv}}">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                        <ColumnDefinition Width="Auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <Button   Click="SaveCommand" Height="20" Margin="5,0,0,0" Width="24" >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/Save.png" />
                        </Button.Background>
                    </Button>
                </Grid>
                <TextBlock Text="{Binding Source={Localization:Translate Word=类型J/W}}"/>
                <ex:TXT72 Text="{Binding FARBE,ElementName=TV}" MaxLength="13" Width="40" CharacterCasing="Upper"/>
                <Button  Click="QueryCommand" Height="20" Margin="5,0,0,0" Width="24" >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/Search.png" />
                        </Button.Background>
                    </Button>
                 
            </WrapPanel>
            <WrapPanel>
                <WrapPanel Visibility="{Binding IsCopy,ElementName=TV,Converter={StaticResource bv}}" Margin="20,0,0,0">
                    <TextBlock Margin="20,0,0,0" Text="{Binding Source={Localization:Translate Word=花型}}"/>
                    <ex:TXT72 Margin="20,0,0,0" Text="{Binding ART,ElementName=TV}"  MaxLength="15" Width="140" CharacterCasing="Upper"/>
                    <TextBlock Margin="20,0,0,0" Text="{Binding Source={Localization:Translate Word=颜色数}}"/>
                    <ex:NumericBox Text="{Binding VAR,ElementName=TV}"/>
                    <TextBlock Margin="20,0,0,0" Text="{Binding Source={Localization:Translate Word=类型J/W}}"/>
                    <ex:TXT72 Margin="20,0,0,0" Text="{Binding FARBE,ElementName=TV}" MaxLength="13" Width="40" CharacterCasing="Upper"/>
                    <Button   Click="CopyCommand" Height="20" Margin="20,0,0,0" Width="24"
                              IsEnabled="{Binding IsCanNew,ElementName=TV}"
                              >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/button_ok.png" />
                        </Button.Background>
                    </Button>
                </WrapPanel>
                <WrapPanel Visibility="{Binding IsNew,ElementName=TV,Converter={StaticResource bv}}">
                    <TextBlock Margin="20,0,0,0" Text="{Binding Source={Localization:Translate Word=花型}}"/>
                    <ex:TXT72 Margin="20,0,0,0" Text="{Binding ART,ElementName=TV}"  MaxLength="15" Width="140" CharacterCasing="Upper"/>
                    <TextBlock Margin="20,0,0,0"  Text="{Binding Source={Localization:Translate Word=颜色数}}"/>
                    <ex:NumericBox Width="80" Text="{Binding VAR,ElementName=TV}"/>
                    <TextBlock Margin="20,0,0,0" Text="{Binding Source={Localization:Translate Word=类型J/W}}"/>
                    <ex:TXT72 Margin="20,0,0,0" Width="80" Text="{Binding FARBE,ElementName=TV}" MaxLength="13" CharacterCasing="Upper"/>
                    <Button   Click="NewCommand" Height="20" Margin="5,0,0,0" Width="24"
                              IsEnabled="{Binding IsCanNew,ElementName=TV}"
                              >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/button_ok.png" />
                        </Button.Background>
                    </Button>
                </WrapPanel>
            </WrapPanel>
            <WrapPanel >
                <TextBlock Text="{Binding Source={Localization:Translate Word=花型}}" FontSize="16" />
                <TextBlock Text="{Binding WTBSRFNR}" FontSize="16" />
                <TextBlock Text="{Binding Source={Localization:Translate Word=总头份}}" FontSize="16" />
                <TextBlock Text="{Binding WTBSRAPP}" FontSize="16" />
                <TextBlock Text="{Binding Source={Localization:Translate Word=类型J/W}}" FontSize="16" />
                <ex:TXT72 Text="{Binding WTBCADKEY1}" FontSize="16" 
                          IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" 
                          MaxLength="13" Width="40" CharacterCasing="Upper"/>
                <TextBlock Text="{Binding Source={Localization:Translate Word=颜色数}}" FontSize="16" />
                <ex:NumericBox Text="{Binding BANZFARB,ElementName=TV}" FontSize="16" 
                          IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" 
                          MaxLength="13" Width="40" CharacterCasing="Upper"/>
                <CheckBox Content="{Binding Source={Localization:Translate Word=停撬}}" IsChecked="{Binding REGULATOR,ElementName=TV}"
                          Visibility="{Binding IsJP, ElementName=TV,Converter={StaticResource nbv}}"/>
            </WrapPanel>
            <WrapPanel>
                <TextBlock Text="{Binding Source={Localization:Translate Word=说明}}"/>
                <ex:TXT72 Text="{Binding WTBBEZ }" IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}" MaxLength="20" Width="240"  FontSize="16" Foreground="Green" CharacterCasing="Upper"/>
            </WrapPanel>
            <TextBlock Text="{Binding INFO}" FontSize="16" Foreground="Red"/>
        </StackPanel> 
        <DataGrid   Grid.Row="1"   Grid.Column="0"   Grid.ColumnSpan="2"
                   VerticalAlignment="Top"  
                    AutoGenerateColumns="False"
                   EnableRowVirtualization="False"
                   IsReadOnly="True"
                   VerticalScrollBarVisibility="Auto"
                   HorizontalScrollBarVisibility="Auto"
                   HeadersVisibility="Column"   
                   ItemsSource="{Binding Source={StaticResource ResourceKey=vwMaster}}" 
                   IsSynchronizedWithCurrentItem="True" 
                   x:Name="dlgMaster"  
                   RowDetailsVisibilityMode="Visible"  
                    >
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=WTBSRFNR}" Header="{Binding Source={Localization:Translate Word=花型}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBBEZ,Converter={StaticResource gb2312}}" Header="{Binding Source={Localization:Translate Word=描述}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBCADKEY1,Converter={StaticResource gb2312}}" Header="{Binding Source={Localization:Translate Word=类型}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBSRAPP}" Header="{Binding Source={Localization:Translate Word=总头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBANZFARB}" Header="{Binding Source={Localization:Translate Word=纱线个数}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN1}" Header="{Binding Source={Localization:Translate Word=纱线1}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ1}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN2}" Header="{Binding Source={Localization:Translate Word=纱线2}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ2}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN3}" Header="{Binding Source={Localization:Translate Word=纱线3}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ3}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN4}" Header="{Binding Source={Localization:Translate Word=纱线4}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ4}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN5}" Header="{Binding Source={Localization:Translate Word=纱线5}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ5}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN6}" Header="{Binding Source={Localization:Translate Word=纱线6}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ6}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN7}" Header="{Binding Source={Localization:Translate Word=纱线7}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ7}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN8}" Header="{Binding Source={Localization:Translate Word=纱线8}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ8}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN9}" Header="{Binding Source={Localization:Translate Word=纱线9}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ9}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN10}" Header="{Binding Source={Localization:Translate Word=纱线10}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ10}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN11}" Header="{Binding Source={Localization:Translate Word=纱线11}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ11}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN12}" Header="{Binding Source={Localization:Translate Word=纱线12}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ12}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN13}" Header="{Binding Source={Localization:Translate Word=纱线13}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ13}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN14}" Header="{Binding Source={Localization:Translate Word=纱线14}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ14}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN15}" Header="{Binding Source={Localization:Translate Word=纱线15}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ15}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN16}" Header="{Binding Source={Localization:Translate Word=纱线16}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ16}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN17}" Header="{Binding Source={Localization:Translate Word=纱线17}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ17}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN18}" Header="{Binding Source={Localization:Translate Word=纱线18}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ18}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN19}" Header="{Binding Source={Localization:Translate Word=纱线19}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ19}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBGARN20}" Header="{Binding Source={Localization:Translate Word=纱线20}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=WTBFDZ20}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y6}" Header="{Binding Source={Localization:Translate Word=Y6}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y7}" Header="{Binding Source={Localization:Translate Word=Y7}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y8}" Header="{Binding Source={Localization:Translate Word=Y8}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y9}" Header="{Binding Source={Localization:Translate Word=Y9}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y10}" Header="{Binding Source={Localization:Translate Word=Y10}}"  Width="Auto" />
            </DataGrid.Columns>
        </DataGrid>
        <Grid Grid.Row="2"   Grid.Column="0" >
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="1*"></RowDefinition> 
            </Grid.RowDefinitions>
            <StackPanel Grid.Row="0" >
                <WrapPanel>

                    <Button   Click="RefreshCommand" Height="20" Margin="5,0,0,0" Width="24"
                              IsEnabled="{Binding IsCanNew,ElementName=TV}"
                              >
                        <Button.Background>
                            <ImageBrush  ImageSource="/ImagePackage;component/Images/Refresh.png" />
                        </Button.Background>
                    </Button>
                </WrapPanel>
            </StackPanel>
            <me:TUWT Grid.Row="1"
                JWP="{Binding JWP,ElementName=TV}"
                EXAUF="{Binding KEY,ElementName=TV}"
                />
        </Grid>        
        <DataGrid   Grid.Row="2"   Grid.Column="1"   
                   VerticalAlignment="Top"  
                    AutoGenerateColumns="False"
                   EnableRowVirtualization="False"
                    CanUserSortColumns="False"
                    CanUserResizeColumns="False"
                    CanUserResizeRows="False"
                    CanUserAddRows="False"
                    CanUserDeleteRows="False" 
                   IsReadOnly="{Binding IsEdit,ElementName=TV,Converter={StaticResource not}}"
                   VerticalScrollBarVisibility="Auto"
                   HorizontalScrollBarVisibility="Auto"
                   HeadersVisibility="Column"   
                   ItemsSource="{Binding Source={StaticResource ResourceKey=vwDetail}}" 
                   IsSynchronizedWithCurrentItem="True" 
                   FontSize="14"
                   x:Name="dlgDetail"                    
                   RowDetailsVisibilityMode="Visible"  
                    >
            <DataGrid.Columns>
                <DataGridTextColumn Binding="{Binding Path=YENDS,Converter={StaticResource gb2312}}" Header="{Binding Source={Localization:Translate Word=头份}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=YARN,Converter={StaticResource gb2312}}" Header="{Binding Source={Localization:Translate Word=纱线}}"  Width="Auto" /> 
                <DataGridTextColumn Binding="{Binding Path=Y0}" Header="{Binding Source={Localization:Translate Word=1}}"   Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y1}" Header="{Binding Source={Localization:Translate Word=2}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y2}" Header="{Binding Source={Localization:Translate Word=3}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y3}" Header="{Binding Source={Localization:Translate Word=4}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y4}" Header="{Binding Source={Localization:Translate Word=5}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y5}" Header="{Binding Source={Localization:Translate Word=6}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y6}" Header="{Binding Source={Localization:Translate Word=7}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y7}" Header="{Binding Source={Localization:Translate Word=8}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y8}" Header="{Binding Source={Localization:Translate Word=9}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y9}" Header="{Binding Source={Localization:Translate Word=10}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y10}" Header="{Binding Source={Localization:Translate Word=11}}"   Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y11}" Header="{Binding Source={Localization:Translate Word=12}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y12}" Header="{Binding Source={Localization:Translate Word=13}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y13}" Header="{Binding Source={Localization:Translate Word=14}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y14}" Header="{Binding Source={Localization:Translate Word=15}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y15}" Header="{Binding Source={Localization:Translate Word=16}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y16}" Header="{Binding Source={Localization:Translate Word=17}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y17}" Header="{Binding Source={Localization:Translate Word=18}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y18}" Header="{Binding Source={Localization:Translate Word=19}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y19}" Header="{Binding Source={Localization:Translate Word=20}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y20}" Header="{Binding Source={Localization:Translate Word=21}}"   Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y21}" Header="{Binding Source={Localization:Translate Word=22}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y22}" Header="{Binding Source={Localization:Translate Word=23}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y23}" Header="{Binding Source={Localization:Translate Word=24}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y24}" Header="{Binding Source={Localization:Translate Word=25}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y25}" Header="{Binding Source={Localization:Translate Word=26}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y26}" Header="{Binding Source={Localization:Translate Word=27}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y27}" Header="{Binding Source={Localization:Translate Word=28}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y28}" Header="{Binding Source={Localization:Translate Word=29}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y29}" Header="{Binding Source={Localization:Translate Word=30}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y30}" Header="{Binding Source={Localization:Translate Word=31}}"   Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y31}" Header="{Binding Source={Localization:Translate Word=32}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y32}" Header="{Binding Source={Localization:Translate Word=33}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y33}" Header="{Binding Source={Localization:Translate Word=34}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y34}" Header="{Binding Source={Localization:Translate Word=35}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y35}" Header="{Binding Source={Localization:Translate Word=36}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y36}" Header="{Binding Source={Localization:Translate Word=37}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y37}" Header="{Binding Source={Localization:Translate Word=38}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y38}" Header="{Binding Source={Localization:Translate Word=39}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y39}" Header="{Binding Source={Localization:Translate Word=40}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y40}" Header="{Binding Source={Localization:Translate Word=41}}"   Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y41}" Header="{Binding Source={Localization:Translate Word=42}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y42}" Header="{Binding Source={Localization:Translate Word=43}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y43}" Header="{Binding Source={Localization:Translate Word=44}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y44}" Header="{Binding Source={Localization:Translate Word=45}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y45}" Header="{Binding Source={Localization:Translate Word=46}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y46}" Header="{Binding Source={Localization:Translate Word=47}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y47}" Header="{Binding Source={Localization:Translate Word=48}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y48}" Header="{Binding Source={Localization:Translate Word=49}}"  Width="Auto" />
                <DataGridTextColumn Binding="{Binding Path=Y49}" Header="{Binding Source={Localization:Translate Word=50}}"  Width="Auto" />  
            </DataGrid.Columns>
        </DataGrid>
    </Grid>
</me:UIWT>

    
